/**
 * @description 产品黏性模块 mock
 */
import { useMockOnAny } from '@/mock/mock'
import {
  bounceRateRes,
  directVisitRateRes,
  pagesPerVisitRes,
  averageVisitTimeRes,
  userLifeTimeRes,
  maxConcurrentUsersRes,
} from '@/mock/api/productStickiness/resInfo'

const mockOnAny = useMockOnAny()
/**
 * @description 产品黏性-直接访问率
 */
mockOnAny('/admin/productStickiness/directVisitRate/info', directVisitRateRes)
/**
 * @description 产品黏性-跳出率
 */
mockOnAny('/admin/productStickiness/bounceRate/info', bounceRateRes)
/**
 * @description 产品黏性-人均页面浏览量PV
 */
mockOnAny('/admin/productStickiness/pagesPerVisit/info', pagesPerVisitRes)
/**
 * @description 产品黏性-平均访问时长
 */
mockOnAny('/admin/productStickiness/averageVisitTime/info', averageVisitTimeRes)
/**
 * @description 产品黏性-用户生命周期
 */
mockOnAny('/admin/productStickiness/userLifeTime/info', userLifeTimeRes)
/**
 * @description 产品黏性-最高同时在线人数
 */
mockOnAny(
  '/admin/productStickiness/maxConcurrentUsers/info',
  maxConcurrentUsersRes,
)
